<?php

include "include/function_library.php";

$id = get ( "id" );

$query = "delete from transportation where id = $id";
$result = sql_query ( $query );

if($result) redirect ( "transportation_list.php?deleted=1" );
else redirect ( "transportation_detail.php?deleted=0&id=".$id );
?>